package com.mathassistant.client.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.mathassistant.shared.UserDTO;

@RemoteServiceRelativePath("user")
public interface MyUserService extends RemoteService {

	Boolean createUserAccount(UserDTO user);
	UserDTO getUserLogin();
	UserDTO Login(UserDTO user);
	UserDTO Login(String name,String passAcc);
	UserDTO getUser(String email);
	Boolean checkEmailExist(String email);
	void updateUserAccount(UserDTO user);
	void deleteUserAccount(UserDTO user);
	void deleteUserAccount(String id);
}
